02-26-2017, 03:19 PM
first thing to look at is phpinfo
create a script inside the webserver root with this contents:
now call that page in the browser.
search on that page for imap, that is where you need to have php-imap support, this is usually installed in the operating system, probably somthing like
although this setting is really not important. after you make a change to php.ini you have to rester apache server:
you can find the exact location of the php.ini file in the phpinfo output, search for "Loaded Configuration File"
as for the permissions look in the phpinfo for "User/Group" under the apache handler section, that will tell you who the files have to be assigned to. I am supposing that centos has a rather strict permission system and it won't let apache read files assigned to root. Try changing the owner of the files and directories to the webserver user
Finally, that PHP version is rather old, I would recommend a php5.6 or higher if possible.
Keep asking....
create a script inside the webserver root with this contents:
PHP Code:
<?php phpinfo(); ?>
now call that page in the browser.
search on that page for imap, that is where you need to have php-imap support, this is usually installed in the operating system, probably somthing like
Code:
yum install php-imap
Code:
short_open_tag = On
although this setting is really not important. after you make a change to php.ini you have to rester apache server:
Code:
apache2ctl restart
you can find the exact location of the php.ini file in the phpinfo output, search for "Loaded Configuration File"
as for the permissions look in the phpinfo for "User/Group" under the apache handler section, that will tell you who the files have to be assigned to. I am supposing that centos has a rather strict permission system and it won't let apache read files assigned to root. Try changing the owner of the files and directories to the webserver user
Finally, that PHP version is rather old, I would recommend a php5.6 or higher if possible.
Keep asking....
Joe
TSolucio
TSolucio