I develop a laravel app my computer using wamp server.I deploy the project into free web host. When I run this project ,it says error which is given below screenshot.
http://i.imgur.com/7vaLrpu.png
Find your PHP installation folder
and when you find php.ini
remove the ";" in front of:
extension=php_openssl.dll
then restart ur php server.
Related
I would like to know how to install mPDF on a particular site hosted on a server with Plesk Obsidian running on CentOS 6.10 (Final).
I tried to open Php Composer but the only option I have is Find your Composer applications and there is no option to install new packages.
On the web I read that I should create a file named composer.json and put it in the project directory but I have no idea where to create the directory, how to call the directory and what to put inside this file!
Thanks for your help!
Can someone provide me a link to download XAMPP or WAMP which should support the following requirements - PHP 5.4.4, MariaDB 5.5.31 or MySQL 5.5.31 or Postgres 9.1 or MSSQL 2008 or Oracle 10.2?
You can use this link to search for required version
http://www.oldapps.com/xampp.php
If you are not happy with above answer, please try another given below-
Install WAMP SERVER 2.1 and you will get PHP 5.3.5 and then upgrade manually PHP 5.4 following below steps
Download PHP5.4 From http://windows.php.net/download/#php-5.4 (Download Thread Safe)
Go to PHP Folder Location (i.e E:\wamp\bin\php)
Create a new folder with name php5.4.42.
Extract the download files and save in E:\wamp\bin\php\php5.4.42.
Copy the following files from your old PHP directory to your new PHP directory()
File - php.ini, phpForApache.ini, wampserver.conf
Open new copied php.ini file.
Update the extension_dir path in file.
Open new phpForApache.ini file.
Update the extension_dir path in file.
Reboot your system.
Start wamp Server
Go to wampserver =>PHP=>Version=>PHP 5.4.42
Now running PHP5.4.42
Note: you might need to Re-enable the PHP extension like CURL, Openssl etc
I'm currently new in laravel, I have laravel project files and I paste it to my www folder. I would like to ask if it is possible or is there any way to run a laravel project without installing composer and laravel in my localhost wamp server?
To run laravel project on windows without composer just follow the instruction :
Goto your project folder
Press Shift + Right Button
Select "open command window here" menu
It will open a command line then write "php artisan serve" command
It will active internal server in laravel and you will get an url looks like http://localhost:8000
So in the address bar of web browser put http://localhost:8000 and hit enter. Hope you will access your project.
But for the development purpose you have to install composer.
hope it will helpful. Let me know if you get any problem.
I am trying to install magento on my ubuntu 12.04 ,
I followed follwing tutorial for Download & Setup it on my machine,
http://davidtsadler.com/archives/2012/06/03/how-to-install-magento-on-ubuntu/
Upto quering www.localhost.magento-store.com it works fine & shows Respective output ..
But while installing magento it fails & shows enter code here
Not Found
The requested URL index.php install was not found on this server
Apache 2.2.22 (Ubuntu) Server at localhost.magento-store.com Port 80
I can write you general installation of Magneto here:
Install Apache, php and Mysql in your ubuntu server(addition, install mcrypt)
create a folder "magento" in /var/www and give proper write access
download magento from magento site and extract it in folder : /var/www/magento so that this folder content index.php
go to localhost/magento in browser (you should have mysqlsql database, so you can install phpmyadmin or use command line to create database)
Follow the installation step
if you want to have specific domain look on Virtualhost of Apache.
I have been trying to install Laravel framework on WAMP.
I been following the steps from http://laravel.com/
and Installing Laravel 4.1 in Windows 7 // Make .phar file globally available to windows command line
When i run the command
composer create-project laravel/laravel --prefer-dist , getting the error message
[RuntimeException]
You must enable the openssl extension to download files via https
But i have enabled openssl in php.ini by removing the comment sign.
Please help
If you are using WAMPServer here is the problem:
WAMPServer's PHP CLI ( Command Line Interface ) i.e. running php.exe from command line uses a different php.ini to the one used by PHP in Apache.
Edit \wamp\bin\php\php5.x.y\php.ini
Activate the extensions you require the PHP CLI to have access to in the usual way i.e. remove the comment ';' from the extension=php_xxxx.dll line.
Wamp uses 2 php.ini
first one that you changed from the Wamp panel and second one that located on Apache folder.
i think on the wamp/bin/apache/bin make sure to enable openssl on both and restart the Wamp.
This worked for me. Hope this helps you.
Install Laravel Framework in Windows *PHP version greater than
5.3.7 is required.
Download Laravel from: https://github.com/laravel/laravel/archive/master.zip.
Extract Laravel into the www folder for WAMP.
Download Composer from: https://getcomposer.org/Composer-Setup.exe
Enable openssl from all php.ini files
Install Composer into the same directory php.exe is located.
Click on WAMP icon->PHP->PHP Extensions and enable: php_openssl, php_curl, php_socket.
Click on wamp icon->Apache->Apache Modules and enable ssl_module
Open cmd.
Change into the directory where you extracted Laravel e.g: cd C:\wamp\www\laravel.
Type the command: composer install.
Installation completed.
Open httpd.conf file
Add these lines after Include "c:/wamp/alias/"*
Listen 8000
DocumentRoot c:/wamp/www/laravel/public
Open Browser and go to localhost:8000
You follow given Only 1 step and install laravel 5 and composer in your machine
[1]Paste this in cmd : composer create-project laravel/laravel
when you run above command it will automatically install composer and laravel
OPTIONAL:
if error your configuration does not allow connection to
http//packages.firegento.com in cmd follow this command :
composer config -g secure-http false