Results 1 to 9 of 9

Thread: Creating a project in laravel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Posts
    76,596

    Default

    Code:
    sudo apt-get install php5-mcrypt
    sudo php5enmod mcrypt
    sudo service apache2 restart
    Code:
    sherly@HOME:~$ sudo apt-get install php5-mcrypt
    [sudo] password for sherly: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
      linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      libmcrypt4
    Suggested packages:
      libmcrypt-dev mcrypt
    The following NEW packages will be installed:
      libmcrypt4 php5-mcrypt
    0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
    Need to get 74.7 kB of archives.
    After this operation, 300 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libmcrypt4 i386 2.5.8-3.1ubuntu1 [61.1 kB]
    Get:2 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-mcrypt i386 5.5.19+dfsg-1+deb.sury.org~trusty+1 [13.7 kB]
    Fetched 74.7 kB in 1s (57.1 kB/s)                                        
    Selecting previously unselected package libmcrypt4.
    (Reading database ... 451236 files and directories currently installed.)
    Preparing to unpack .../libmcrypt4_2.5.8-3.1ubuntu1_i386.deb ...
    Unpacking libmcrypt4 (2.5.8-3.1ubuntu1) ...
    Selecting previously unselected package php5-mcrypt.
    Preparing to unpack .../php5-mcrypt_5.5.19+dfsg-1+deb.sury.org~trusty+1_i386.deb ...
    Unpacking php5-mcrypt (5.5.19+dfsg-1+deb.sury.org~trusty+1) ...
    Processing triggers for libapache2-mod-php5 (5.5.19+dfsg-1+deb.sury.org~trusty+1) ...
    Setting up libmcrypt4 (2.5.8-3.1ubuntu1) ...
    Setting up php5-mcrypt (5.5.19+dfsg-1+deb.sury.org~trusty+1) ...
    
    Creating config file /etc/php5/mods-available/mcrypt.ini with new version
    php5_invoke: Enable module mcrypt for cli SAPI
    php5_invoke: Enable module mcrypt for apache2 SAPI
    Processing triggers for libc-bin (2.19-0ubuntu6.4) ...
    Processing triggers for libapache2-mod-php5 (5.5.19+dfsg-1+deb.sury.org~trusty+1) ...
    sherly@HOME:~$ sudo php5enmod mcrypt
    sherly@HOME:~$ sudo service apache2 restart
     * Restarting web server apache2 
     AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
                                                                             [ OK ]
    Last edited by sherlyk; 12-15-2014 at 07:21 AM.

  2. #2
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    Run

    Code:
    cd ~/www/yourname.dev
    php artisan serve
    Paste the result here. So we can see what it will be like when built-in web server working properly.
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  3. #3
    Join Date
    Nov 2009
    Posts
    76,596

    Default

    Quote Originally Posted by admin View Post
    Run

    Code:
    cd ~/www/yourname.dev
    php artisan serve
    Paste the result here. So we can see what it will be like when built-in web server working properly.


    Result

    Code:
    sherly@HOME:~$ cd ~/www/sherly.dev/
    sherly@HOME:~/www/sherly.dev$ php artisan serve
    Laravel development server started on http://localhost:8000
    [Mon Dec 15 11:56:09 2014] 127.0.0.1:41676 [200]: /favicon.ico
    [Mon Dec 15 11:56:09 2014] 127.0.0.1:41677 [200]: /favicon.ico

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •