Get Paid to Participate - up to $1 per post!     Twitter     Facebook     Google+
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Web Hosting Discussion > How to solve php module related issue
forgot password?



Reply


Old
  Post #1 (permalink)   07-09-2016, 04:21 AM
HD Newbie
 
Join Date: May 2016
Posts: 1

Status: Eminentworks is offline
If there is any php module related issue with the existing php website, first of all check the phpinfo page or php.ini file. Locate the php.ini file and if the module is not loaded in phpinfo page, need to allow that module in php.ini file.

--------------------------------
How to create a phpinfo.php File :
--------------------------------
→ In the public_html folder of the website, create a file named phpinfo.php.
→ Write the following code to show all the information about PHP.
<?php
phpinfo();
?>
→ Browse this webpage (example: http://64.27.50.50:108/phpinfo.php).

--------------------------------
How to find php.ini file :
--------------------------------
→ Browse phpinfo.php file and search for "Loaded Configuration File". This will show you an actual path of php.ini file on the disk.

--------------------------------
How to add module/extension in php.ini file :
--------------------------------
→ Add following line in php.ini file :
extension=FILE_NAME.dll

Here FILE_NAME is the extension file name.
 
 
 


Old
  Post #2 (permalink)   07-09-2016, 03:52 PM
HD Community Advisor
 
ughosting's Avatar
 
Join Date: Jan 2011
Location: London
Posts: 604

Status: ughosting is offline
This assumes that you are running PHP on windows and that that particular module has been compiled already.

I would imagine that more often than not the real solution would be more complex.
__________________
DDoS Protected, LiteSpeed + LiteMage on CloudLinux with SSD Disks, R1Soft, Softaculous, SIteBuilder, BitNinja, LetsEncypt & Patchman
UnixGuru: Accounts with 1-16 CPU Cores, 2-32GB RAM. Why use a VPS?
█ Choose from Shared, Reseller and Elastic-Sites Hosting
 
 
 
The Following User Says Thank You to ughosting For This Useful Post:
whmcsguru (07-18-2016)


Old
  Post #3 (permalink)   07-17-2016, 01:54 PM
HD Addict
 
Join Date: Nov 2008
Location: Central Indiana, USA
Posts: 198
Send a message via AIM to MikeDVB Send a message via MSN to MikeDVB Send a message via Skype™ to MikeDVB

Status: MikeDVB is offline
I don't think I've ever loaded a PHP module as a .dll. I've always just used VirtualBox or something similar to spin up a Linux machine and used Apache+PHP [LAMP].

That said - I doubt anybody that would have this problem and not know how to solve it would have the access necessary to actually fix the problem.
__________________
Michael Denney - MDDHosting LLC - Professional Hosting Solutions
Cloud Shared Plans Check them out! Old plans still available.
Shared, Premium, Reseller, and VPS
http://www.mddhosting.com/
 
 


Old
  Post #4 (permalink)   07-18-2016, 01:31 PM
HD Master
 
whmcsguru's Avatar
 
Join Date: May 2016
Posts: 285
Send a message via Skype™ to whmcsguru

Status: whmcsguru is offline
Quote:
Originally Posted by ughosting View Post
I would imagine that more often than not the real solution would be more complex.
Not really... The 'real solution'?

DON'T use Windows for PHP

Ok, so that's a biased solution, but it's correct
Windows and PHP have long had a messy relationship. There's too many things that can (and do) go wrong, too many differences between the architectures of *ix and Win .
__________________
WHMCS Guru - WHMCS addons, management, support and more.
WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to your WHMCS install!
WHMCS User and IP Extended Control - Take control of your WHMCS install
Linux admin, WHMCS Guru for hire. PM me for more information
 
 
 


Old
  Post #5 (permalink)   09-05-2016, 01:01 AM
HD Newbie
 
Join Date: Apr 2011
Posts: 20

Status: emyhost is offline
Thanks for the guide and yes, php and mysql is not advise to use under windows environment.
__________________
Emyhost Networks | Affordable Web Hosting | Reliable Dedicated Servers | Cheap VPS
Money Back Guarantee ★ 99.9% Uptime ]★ 24/7 Support
www.emyhost.com
 
 
 


Old
  Post #6 (permalink)   09-08-2016, 02:06 AM
HD Amateur
 
Join Date: Jul 2016
Posts: 78

Status: greenwebpage is offline
php work better on linux, enviroment I especially use liunux on my p.c on i whant to develop somethink.
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: