2,908 reputation
21944
bio website google.com/+DannyHajj
location Beirut, Lebanon
age 28
visits member for 3 years, 8 months
seen 1 hour ago

I'm a Web Developer, my work has varied from asp.net (with C#) to PHP.

I've also worked on Drupal and Wordpress, but now I mainly work on Magento,.

I've adopted Ubuntu when I stopped working with .Net and started PHP. Ubuntu was at version 10.10 and I have been an Ubuntu user ever since.

GitHub: https://github.com/dannyhajj
Twitter: https://twitter.com/dannyhajj
Google+: https://google.com/+DannyHajj


Sep
25
comment Cloning new repos fails with error :fatal: The remote end hung up unexpectedly error: RPC failed; result=22, HTTP code = 500
From the man page of git-clone: Create a shallow clone with a history truncated to the specified number of revisions. So the idea is that when you clone with --depth, you don't clone the repository with all the history. In your case, the history will only be the last commit of where HEAD is on the remote (you can verify it with git log).
Sep
24
comment Is it okay to use symbolic links in my web server?
Symlinks are somewhat bad practice on a web-server. There is a good explanation on Server Fault about this: serverfault.com/a/244612/66406. But, in your case, you are using the symbolic link on your root directory, so you can still have the FollowSymLinks option in apache disabled and it would still work. So that security problem wouldn't be an issue.
Sep
19
revised Why some server requires './' to run scripts but others don't?
deleted 35 characters in body; edited tags; edited title
Sep
15
awarded  Popular Question
Sep
15
revised How can I change the default editor of the sudoedit command to be vim?
Made the title a bit more generic
Sep
1
awarded  Nice Answer
Aug
29
revised Is this a security risk/concern?
deleted 74 characters in body
Aug
29
answered Is this a security risk/concern?
Aug
28
comment Easter eggs in Ubuntu
Not all of them are easter eggs, but this is a nice list: tecmint.com/…
Aug
26
reviewed Approve suggested edit on cant allocate memory when using popen running youtube-dl
Aug
21
comment apache2: Could not open configuration file /etc/apache2/apache2.conf: Permission denied
does the apache error log file have any more/different info? Unless you changed it, by default it's in ``/var/log/apache2/error.log`. And no, the permissions are correct.
Aug
20
reviewed Approve suggested edit on apt-get command problem
Aug
6
reviewed Approve suggested edit on How can I solve Unable to lock the administration directory (/var/lib/dpkg/)
Aug
2
reviewed Approve suggested edit on Unable to see Recent Chats in skype 4.3
Jul
31
comment LAMP With PHP 5.3 in ubuntu 14.04
I would try this answer: askubuntu.com/a/462718/8698
Jul
31
comment LAMP With PHP 5.3 in ubuntu 14.04
That would install the latest PHP version in the repository for 14.04 which is PHP 5.5. It won't help in installing PHP 5.3.
Jul
31
comment Apache2 and PHP error logging
Since you are using WordPress, I don't think installing a framework is an option. But with a quick search I found this plugin you can try it out. I have not tested it nor tried it before, so I can't tell you if it actually works or not. I would ask this on WordPress Development though, if there isn't such question there already.
Jul
31
comment Apache2 and PHP error logging
@AndreaMoro I'm almost sure that queries don't get logged automatically by themselves. Unless you are using a framework which does that for you, you need to manually log them yourself in the code.
Jul
29
reviewed Reject suggested edit on How do I start conky when ubuntu starts up?
Jul
29
reviewed Reject suggested edit on USB keyboard and mouse not working after upgrade