Reputation
206
Next privilege 250 Rep.
View close votes
Badges
2 10
Newest
 Yearling
Impact
~6k people reached

Apr
9
comment Migrate IMAP account between providers - client access only
Not free at 50 euros.
Apr
6
comment Installing PHP extensions to the correct PHP version
Another cause of concern, is for one of our hosted websites in Plesk, I chose that it used 5.6.7 - this probably means that pre-existing websites and new ones I add will default at 5.3.3. Now, logging in as root - which is how I installed extensions - I run php -v and it tells me 5.3.3 is being used. Is 5.3.3 being the default version causing this problem I'm seeing?
Apr
6
comment Installing PHP extensions to the correct PHP version
I meant the new extension directory didn't have imagick.so before copying the extension and did after. It wasn't empty.
Apr
6
comment Installing PHP extensions to the correct PHP version
Yes, it shows 5.6.7 and shows php.ini changes too. The installation said the extension was in /usr/lib64/php/modules/, so ran cp /usr/lib64/php/modules/imagick.so /php/php-5.6.7/lib/php/extensions/no-debug-non-zts-20131226/imagick.so which is where phpinfo says my extension directory is under extension_dir variable. I also tried copying it from the modules directory cp /root/imagick-3.1.1/modules/imagick.so /php/php-5.6.7/lib/php/extensions/no-debug-non-zts-20131226/imagick.so. Before I did this, the 5.6.7 extension directory was empty, and so checked there was a file there after copy
Apr
6
comment Installing PHP extensions to the correct PHP version
Thanks for your time, Joe. I followed the steps given by Vaibhav and all seemed to go perfectly fine until I checked phpinfo() and found the extension was still not there. I copied the .so file, checked php.ini for the extension, restarted httpd, but still nothing.
Apr
6
comment Installing PHP extensions to the correct PHP version
Thank you for taking the time to respond. I followed the steps you gave for the first extension, imagick. Everything installed perfectly ok, I copied the .so file to the php5.6.7's extension directory using the modules path that was given at the end of the install and restarted httpd. Phpinfo() doesn't show this extension and fails in an application with 'Fatal error: Class 'Imagick' not found in /var/www/.....'. I have added the extension to php.ini. Any ideas?
Apr
6
comment Installing PHP extensions to the correct PHP version
@Joe - I have just update my question with the link to the gist I used for installing 5.6.7 - I compiled it myself.
Apr
6
revised Installing PHP extensions to the correct PHP version
added 138 characters in body
Apr
6
asked Installing PHP extensions to the correct PHP version
Apr
6
awarded  Yearling
Apr
5
comment Made changes to my.cnf and mysqld wont restart - no backup
Haha that highlights the newbie troubles I had navigating the config file using vim commands. Must have deleted a character!! Thank you very much.
Apr
5
accepted Made changes to my.cnf and mysqld wont restart - no backup
Apr
5
asked Made changes to my.cnf and mysqld wont restart - no backup
Mar
19
awarded  Curious
Oct
6
awarded  Notable Question
Sep
24
awarded  Autobiographer
Jul
23
comment Unable to edit/delete/move /etc/my.cnf - Permission denied
Is advisable to run sudo chattr +i my.cnf after editing the files, to protect it again?
Dec
14
comment IIS 7.0 does not keep Session Variables
Don't write comments as answers. Down-voted.
May
9
awarded  Popular Question
Jul
20
comment Storing valuable high-resolution images before root
Yeah, I definitely need to read up about this. For now I have got it working by simply giving PSAADM and PSACIN from my permissions list (attached photo) full read/write permissions. Before this, my script threw an error "access denied" to read a photo from inside that d:\directory. Now my script reads and writes to that folder successfully, so assume I have done something right. The two users that I gave permission to seem to be something to do with Plesk. Although it's working, I still need to learn if I have done the right thing. Thanks for the edit too.