Site has no styling after APC is installed - php

I recently installed APC on my dedicated server, and now my site's CSS is not being read at all. Or so I think because the site has no styling.
Any ideas how I can fix this?
The site has the following installed:
APC 3.1.9 - PHP 5.4.10 - CENTOS 5.9 x86_6 - WHM 11.34.1. (Build 7) - cPanel of the same version as WHM - Perl Version 5.8.8 - mod_fcgid 2.3.6 - SocialEngine 4.2.5
Any feedback is very welcome

So I enabled suEXEC, graceful restarted the server and that solved the problem. Just writing this in case someone else has the same issue happening to them.

Related

Upgrading from php7.0.33 to php7.3 on Debian 10 (Buster)

I have a web server running on virtual machine Debian 10 (Buster)
I need to upgrade the PHP 7.0.33 to PHP 7.1 or higher, and as you know, debian buster already has PHP 7.3 ready to be installed.
the problem is when i try to sudo apt-get install php7.3-cli or any other php extension it asks me to remove local custome packages which are essential for the web server becase they depends on the old php version.
I tried to do sudo apt-mark hold <custom_package>, but it is still asking me to remove them and preventing me from upgrading/installing the new php version.
How to fix this issue?
Am i doing something wrong?
the reason for upgrading the php is that the upgraded version of web server content requires php version to be 7.1 or higher, i even tried to neglect this platform check, the web server worked but with issues which make the server unfuntional.
Sorry, i'm new to this and just trying to resolve the problem.
Regards,

Apache server running on PHP ver. 8.0.1 won't load React/ZMQ extension on startup

I am trying to experiment web sockets with cakephp ver 4. My server is WAMP 3.2.6 x64 running on Win 10 and PHP 8.1.0 set as preferred engine version. It turns out that zmq-extension has to be enabled in php.ini file.
And there lies my problem: I've searched many stackoverflow solutions, that seem to have been usuful for older php and OS versions, but none seems to work for my configuration.
Is it possible that php_zmq is not fixed for running on php 8? Or, maybe WAMP 3.2.6 is to blame?
Thanks in advance for your prompt replies!
Well, the solution for me was to downgrade php to version 7.2.34. All other attempted php versions, up to ver 8.0.1 at least, were futile.

Dompdf in local and vps?

I have tried installing dompdf on laragon windows, it is already running normally.
this is my localhost specification
-Laragon php 7.2.19
-normal phpmodule by laragon
-install dompdf 0.8.3 using composer
Then I moved all my projects to vps, and dompdf could not be run
when I open it it says 404
this is my VPS specification
Centos7
Apache
php 7.2.25
I tried installing the dom and mbstring modules, but it still doesn't work
is this wrong about the settings in my codeigniter (but I run locally its fine) or php on my vps that has problems
Please help
My problem wass in Mbstring.
bcs in centos Mbstring is autodisable after install php at centos.
Lookup if Mbstring got disabled in centos.

How to install a right version phpmyadmin on Centos 6.9 accordingly?

I am moving a Magento 1.8 web to a lower cost hosting and exhausted by phpmyadmin installation.
Magento 1.8 was suggested to run with PHP 5.4 and Mysql 5.5, therefore, I chose a Centos6.9 image and thought could be easier...The LAMP stack installation is smooth, but always got problem with phpmyadmin. I have tried PHP5.4 + Mysql5.5, PHP5.4 + Mysql5.6, PHP5.5 + Mysql5.6 combinations, none of them turn out success...
Most of online blogs suggest same way to install phpmyadmin which I followed as below:
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
or
rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
then
yum install phpmyadmin
I thought the EPEL package will be able to automatically identify php modules already installed and install the right version phpmyadmin accordingly...
instead it seems stick with php 5.3 which is default php version with Centos 6....here is error message:
the list is very long and involved many php modules...
I am kind of newbie with linux server stuff...Can anyone help to address this issue and point a solution out? thank you in advance.
BTW, I am big fan of open source, but from this point, I feel a bit disappointed to open source products...especially when end user need to work with multiple of them together...it can never be said as user-friendly.
If you have the Remi repo installed you should be able to use:
yum install phpmyadmin --enablerepo=remi-php56
You have php 5.4.45 installed from remi-php54, so you need to enabled this repository to install any additional module.
As explained by the Wizard.
Please note than PHP 5.4 and 5.5 are not maintained anymore, so I hearthly recommend to upgrade to a supported release (5.6 or more recent)
P.S. phpMyAdmin in EPEL is quite old (4.0) but suitable for old PHP versions. For more recent version of PHP (5.6, 7 and up), you probably need the latest phpMyAdmin version 4.7 (which is available in "remi" reposotiry)

https site not working on php upgrade

I tried to upgrade Joomla version from 3.3.6 to 3.4.1 which ended up in "could not open joomlaupdate.xml for writing" error. I had to upgrade php from version 5.3 to 5.5 which ended up in the https site not working.http site works fine.Now I've downgraded to 5.3 and still the same issue. I have my site configured in Amazon AWS. I see that openssl is enabled in my php configuration.Need help in solving the issue
All the httpd configurations have been overwritten.Had to recopy the configurations and restart the service and everything was fine.

Categories