• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

php/Modernbill Question

phoenixisp

Silver Pleskian
I have setup one server with RH9, Plesk 7.5.3 and Modernbill and everything works well. But I tried to setup another one and have run into a problem.

When I try to run the install script using the browser I get this error:

Parse error: parse error in /home/httpd/vhosts/secure.domain.com/httpsdocs/modernbill/install_v4/index.php on line 89

I have Zend installed and I think that's where my problem is. I inserted a info.php page and noticed a difference in the configuration file path.

On the server that works it's "/etc/php.ini"

On the one that doesn't it's "/usr/local/Zend/etc/php.ini"

What would cause this and how do I fix it?

Thanks,

Sonny
 
make sure /etc/php.ini is linked to /usr/local/zend/php.ini. You can do this like so

login through ssh as root
mv /etc/php.ini /etc/php.ini`date -I`
ln -s /usr/local/Zend/php.ini /etc/

service httpd restart
 
That didn't go well. When i did:

mv /etc/php.ini /etc/php.ini`date -I`


I got :

bash: command substitution: line 2: syntax error: unexpected end of file
mv: '/etc/php.ini' and '/etc/php.ini' are the same file

And if I try:

ln -s /usr/local/Zend/php.ini /etc/

I get:

ln: `/etc//php.ini': file exists
 
Just do:

mv /etc/php.ini /etc/php.ini.backup
ln -s /usr/local/Zend/php.ini /etc/

basically he wants you to backup the original php.ini file to another name, then symlink the one in the /usr/local/Zend/ to /etc/

Also make sure the path name is correct for your system, it should be, but who wants to 'assume'?

If you get an error on the second command, then do a:

locate php.ini

and you will see all occurances of php.ini on the system, and their paths.
 
Egads!!

Just for grins I retried the Modernbill install and it's working, go figure!!!

Thanks tiredofchex, even with the errors above it seems to have worked.
 
Back
Top