Php installation error

I installed the WampServer2.1e-x32 stack with the add-on version of php 5.2.11. I downloaded apc3.0.19.dll and placed it in the directory and the necessary information in php.ini. To make it work.

The wamp server rebooted and switched to phpmyadmin, and here is some error that I have never seen uptil now: (.

Notice: Unknown: 1. h->opened_path=[null] h->filename=[C:/wamp/apps/phpmyadmin3.3.9/index.php] in Unknown on line 0 Notice: Unknown: 2. h->opened_path=[C:\wamp\apps\phpmyadmin3.3.9\index.php] h->filename=[C:/wamp/apps/phpmyadmin3.3.9/index.php] in Unknown on line 0 Notice: Unknown: apc_cache_make_file_entry: entry->data.file.filename is [C:\wamp\apps\phpmyadmin3.3.9\index.php] in Unknown on line 0 Notice: Unknown: Inserting [C:\wamp\apps\phpmyadmin3.3.9\index.php] in Unknown on line 0 Notice: require_once() [function.require-once]: 1. h->opened_path=[C:\wamp\apps\phpmyadmin3.3.9\libraries\common.inc.php] h->filename=[./libraries/common.inc.php] in C:\wamp\apps\phpmyadmin3.3.9\index.php on line 35 Notice: require_once() [function.require-once]: 2. h->opened_path=[C:\wamp\apps\phpmyadmin3.3.9\libraries\common.inc.php] h->filename=[./libraries/common.inc.php] in C:\wamp\apps\phpmyadmin3.3.9\index.php on line 35 Notice: require_once() [function.require-once]: apc_cache_make_file_entry: entry->data.file.filename is [C:\wamp\apps\phpmyadmin3.3.9\libraries\common.inc.php] in C:\wamp\apps\phpmyadmin3.3.9\index.php on line 35 Notice: require_once() [function.require-once]: Inserting [C:\wamp\apps\phpmyadmin3.3.9\libraries\common.inc.php] in C:\wamp\apps\phpmyadmin3.3.9\index.php on line 35 Notice: require_once() [function.require-once]: 1. h->opened_path=[C:\wamp\apps\phpmyadmin3.3.9\libraries\Error_Handler.class.php] h->filename=[./libraries/Error_Handler.class.php] in C:\wamp\apps\phpmyadmin3.3.9\libraries\common.inc.php on line 53 Notice: require_once() [function.require-once]: Stat failed ./libraries/Error_Handler.class.php - bailing (C:/wamp/apps/phpmyadmin3.3.9/index.php) (1310476968) in C:\wamp\apps\phpmyadmin3.3.9\libraries\common.inc.php on line 53 Notice: require_once() [function.require-once]: 1. h->opened_path=[C:\wamp\apps\phpmyadmin3.3.9\libraries\Error.class.php] h->filename=[./libraries/Error.class.php] in C:\wamp\apps\phpmyadmin3.3.9\libraries\Error_Handler.class.php on line 13 Notice: require_once() [function.require-once]: Stat failed ./libraries/Error.class.php - bailing (C:/wamp/apps/phpmyadmin3.3.9/index.php) (1310476968) in C:\wamp\apps\phpmyadmin3.3.9\libraries\Error_Handler.class.php on line 13 Notice: require_once() [function.require-once]: 1. h->opened_path=[C:\wamp\apps\phpmyadmin3.3.9\libraries\Message.class.php] h->filename=[./libraries/Message.class.php] in C:\wamp\apps\phpmyadmin3.3.9\libraries\Error.class.php on line 13 Notice: require_once() [function.require-once]: Stat failed ./libraries/Message.class.php - bailing (C:/wamp/apps/phpmyadmin3.3.9/index.php) (1310476968) in C:\wamp\apps\phpmyadmin3.3.9\libraries\Error.class.php on line 13 

I uninstalled it and installed it again, but still getting this error !!. I wanted to run php 5.2.11 and APC, and I have no idea why phpmyadmin got the impact !!!

I tried with a different version for APC [php_apc-3.1.5-5.2-vc6-x86] and finally got the correct version that seems to work in PHP [php_apc_3_0_19.dll] and this directly affected my phpmyadmin .. .

I will delete again, delete all the files related to wamp, and start fresh ...... but my knowledge in APC is very limited ... I can think that this is a completely different direction ...

any help to solve the next problem is much appreciated ...

+7
source share
5 answers

A bit late for user 269867, but I found a solution (APC 3.1.9 / 3.1.13):

You can also do the following:

https://bugs.php.net/bug.php?id=59445

Where it says:

"If compilation is not an option, roll back to stable: pecl install -f APC-3.1.6"

This is really a regression, but it did a great job with me :)

(I also answered that in APC (alternative PHP cache), which throws a lot of PHP notifications )

+3
source

It seems that the latest builds in windows.php.net are also broken. I tested:

  • php_apc-3.1.12-5.4-TS-VC9-x86
  • php_apc-3.1.13-5.4-TS-VC9-x86

both from http://windows.php.net/downloads/pecl/releases/apc/ , and both had problems.

If you are stuck on this, just like me, follow this link: http://downloads.php.net/pierre/

And download php_apc-3.1.10-5.4-vc9-x86.zip.

+2
source

If PHPMyAdmin is the only thing that gives you problems, now is the time to switch. I find PHPMyAdmin slow, bulky, and too many frames. I would recommend you switch to Adminer , which is quick and easy to install.

0
source

It looks like all the messages are in the phpMyAdmin library directory, does this directory exist? If so, what are the permissions?

I see this error here, which is apparently directly related to apc .:

 Notice: require_once() [function.require-once]: apc_cache_make_file_entry: entry->data.file.filename is [C:\wamp\apps\phpmyadmin3.3.9\libraries\common.inc.php] in C:\wamp\apps\phpmyadmin3.3.9\index.php on line 35 

In addition, these are not errors, but notifications, does myadmin function work despite this?

Finally, I found this blog post, does it help? It looks like you can disable APC for phpmyadmin.

http://mattiasgeniar.be/2011/01/20/running-phpmyadmin-with-apc-cache-enabled-fatal-php-errors/

0
source

I do not think that these errors are actually problems with PHPMyAdmin; they are part of the APC configuration settings. Obviously debugging has been enabled. I think this can be resolved with https://stackoverflow.com/a/212960/

0
source

All Articles