• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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