php installation error

user269867 picture user269867 · Jul 12, 2011 · Viewed 8.5k times · Source

I have installed 'WampServer2.1e-x32' stack with addon version of php 5.2.11 . I downloaded apc3.0.19.dll and placed under the directory and required information in php.ini. To make it work.

Restarted wamp server and navigated to phpmyadmin and here are some error which I had 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 had uninstalled it and re-installed it but still I receive this error !!. I wanted to run php 5.2.11 and APC and I have no idea why phpmyadmin got impacted !!!

I tried with different version for APC [php_apc-3.1.5-5.2-vc6-x86] and finally got the correct one which seems working in PHP [php_apc_3_0_19.dll] and it just directly impacted my phpmyadmin ...

I will again uninstall,delete all the wamp related files and start fresh......but my knowledge in APC is very limited...I may be thinking totally is different direction...

any help to resolve following problem is highly appreciated...

Answer

Benj picture Benj · Oct 9, 2012

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

You can also follow this :

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

Where it is said :

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

It is indeed a regression, but it worked fine for me :)

(I also responded that in APC (Alternate PHP Cache) Throwing Lots of PHP Notices)