From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2) Gecko/20021127 Description of problem: On http://localhost/admin/install.php: ---------------------------------------------------------------------- Fatal error: Cannot redeclare phpads_isconfigwritable() (previously declared in /var/www/html/admin/lib-config.inc.php:30) in /var/www/html/admin/lib-config.inc.php on line 28 ---------------------------------------------------------------------- Explanation from phpAdsNew forum: ---------------------------------------------------------------------- Someone told me that there might be problems with php-support with the Apache version 2.0 that comes with Redhat 8. He said that the php-support is "experimental". Maybe You should downgrade Your Apache-version to 1.3.27. ---------------------------------------------------------------------- Any help will be appreciate. Keep the good work. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Start httpd and mysqld services 2.untar phpAdsNew release or cvs under /var/www/html 3.start a browser pointing on http://localhost/ Actual Results: Fatal error: Cannot redeclare phpads_isconfigwritable() (previously declared in /var/www/html/admin/lib-config.inc.php:30) in /var/www/html/admin/lib-config.inc.php on line 28 Expected Results: I should have the installer of phpAdsNew. Additional info: I can't "downgrade" to Apache 1.3.x, my server is in production now. How can I do? I hope there will be an errata for php because it appears there is a lot of problem with the interaction with Apache 2.0.x
In /etc/php.ini, change the setting: short_open_tag = Off to short_open_tag = On
I'm sorry but I changed this directive as you said in php.ini, restarted apache, verified with phpinfo that short_open_tag is On, but the problem still remains as you can see: Fatal error: Cannot redeclare phpads_isconfigwritable() (previously declared in /var/www/html/admin/lib-config.inc.php:30) in /var/www/html/admin/lib-config.inc.php on line 28
Then it WORKSFORME, at least. I downloaded phpAdsNew-dev16092002.zip on a clean 8.0 install, set short_open_tag = On, and I can load the installer page. Maybe you can try a different version of phpAdsNew?
My firsts tests were done with both cvs edition and official release but for this last test (short_open_tag), I have only tested with cvs edition. It works perfectly now with the official release, I thank you very much for your so quick answer. Keep the good work