Laragon Call to undefined function pg_pconnect() even i have enable the pgsql - laragon

I have set in php.ini but i cant use postgresql for my apache laragon version, the image just looks like below.
i even restarted the apache server but still didnt work.

I finally got the answer. I need to restart my laptop to made that postgresql connection work. I don't know why restarting and reloading the apache web service not working.

Related

xampp is not working and i try almost every thing

i downloaded MySQL workbench and the port is 3306 then i runs the x.a.m.p.p and the port is 3306 also i change the x.a.m.p.p port to 3307 and still not working
is their any solution to this
First we need to make sure that you installed XAMPP in proper way. Follow this video about how to prepare PHP environment using XAMPP.
If you followed the steps correctly make sure that both MySQL and Apache servers are running.
Then in XAMPP control panel click on MYSQL Admin. It will open phpMyAdmin and it will show a successful connection to MySQL server. If you noticed any error this means you have problem in your MySQL server.
Also it will be a good help to tell us from there your server type and version and your MySQL workbench version.

Laravel PHP Sessions for IPS Community

I'm trying to install IPS Community(https://invisioncommunity.com/) on a fresh local laravel server. However, when I enter the installation process I get the following error. It might be worth mentioning the server is running on a homestead server too.
The installer uses PHP sessions to store data, however PHP sessions are currently not working correctly on your server. This is an issue you will need to contact your host about.
Does anyone know how to enable PHP sessions?
Anyone having this issue... You need to delete the "Constants.php" in your IPS directory to fix this.

Rebooted EC2 Instance Now WebServer is Down

So I rebooted an EC2 instance. When I went to pull that website up that links to that instance it is now down with a 521 error saying the website is down. We used Nginx as a web server.
I haven't tried much as I am not familiar with this issue. I do know that I should be trying to restart nginx I just do not know in what directory.
If everything was working fine for you then you can simply bring up the ngnix on ec2 machine using below command :
sudo service nginx restart
Config file for NGINX was not pointing to the correct website. I guess someone changed the file and me rebooting it enabled the changes. Just went into config file and changed the site back to the one I was using rebooted and bingo.

docker: what is the similar url in docker as compared to XAMMP/MAMP

I am using docker for the codeigniter project development. Initially, when I used MAMP or XAMMP, the login page was localhost/xyz/admin/login as the server used to run on localhost (php server). But, the docker server is running on localhost:8000 and I am trying to open localhost:8000/xyz/admin/login but it shows an error that page you requested not found. Does someone know the answer to this problem? I have also tried localhost:8000/myapp_1/xyz/admin/login , localhost:8000/myapp_1/admin/login etc. but nothing seems to work.
Thanks in advance!

ajax php example not working on local web server mac

I am trying to learn ajax on my mac apache server using the example code in http://www.w3schools.com/php/php_ajax_php.asp . But it is not working on my local server as desired( I am using CODA 2 in mac 10.8). I have no idea what is going wrong. Can someone help me with this.
It may be a port issue. I run MAMP (which I just switched to from WAMPP, and I love it). By default it runs Apache via port 8888 and MYSQL via port 8889. I had to switch this to ports 80 and 3306, respectively, to get everything working properly.
But if you can run any more basic php calls, I'd rule out this suggestion.

Resources