Welcome, Guest. Please login or register.
Did you miss your activation email?
September 04, 2010, 04:30:59 am
Home Help Search Login Register

SysCP Forum  |  SysCP Discussions  |  English Discussions  |  Topic: Cronwarning: PHP Warning: Module 'mysql' already loaded in Unknown on line 0 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Cronwarning: PHP Warning: Module 'mysql' already loaded in Unknown on line 0  (Read 5870 times)
Lindwyrm
Newbie
*
Offline Offline

Posts: 22


« on: December 20, 2006, 01:50:49 pm »

Dear syscp-community,

at first a great thank you to the syscp-developers, that give us this nice opensource-software. It runs very fast and stable on my system and have a good structure! I like it.
*this words are from a former Conifxx and VHCS user, who tried ISPConfig and damn it after 2 days Tongue*

But I have a Warning after run the Cronline

/usr/bin/php5 -q -c /etc/php5/syscpcron /var/www/syscp/scripts/cronscript.php

I get the following warning:

PHP Warning:  Module 'mysql' already loaded in Unknown on line 0

Can I ignore this or how can i turn off this warning?

Please excuse my poor english-knowledge.

sincerely yours
Lindi


Logged
Ron
Hero Member
*****
Offline Offline

Posts: 634


« Reply #1 on: December 20, 2006, 04:28:01 pm »

PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[...] how can i turn off this warning?
hi, please comment out the line in your php.ini
Code:
/etc/php5/syscpcron/php.ini
Quote
extension=mysql.so
so it will look like this:
Quote
#extension=mysql.so

(Edit) you might also replace the whole command for the cron like this:
Code:
*/5 * * * * root /usr/bin/php -q /var/www/syscp/scripts/cronscript.php
regards Ron
« Last Edit: December 20, 2006, 04:58:58 pm by Ron » Logged

SysCP 1.2.19/RoundCube Webmail/Apache2.2.3/Debian Etch/OpenSSL 0.9.8c/PHP5.2.0-8-etch10/PHPmyAdmin 2.9.1.1-Debian-4/mysql_5.0.32-7etch4
Lindwyrm
Newbie
*
Offline Offline

Posts: 22


« Reply #2 on: December 21, 2006, 01:01:50 pm »

Thank you it works fine!
Logged
nixis
Full Member
***
Offline Offline

Posts: 123


« Reply #3 on: August 04, 2007, 09:10:50 pm »

Hello,

THX @ Ron for you help.

I had the problem also.

nixis | Philipp

(I'm not Philipp Haefelfinger)
Logged

Warum Linux? Weil ich Windows schon durchgespielt habe!
Pages: [1] Print 
SysCP Forum  |  SysCP Discussions  |  English Discussions  |  Topic: Cronwarning: PHP Warning: Module 'mysql' already loaded in Unknown on line 0 « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.088 seconds with 17 queries.